package com.zjs.jsp.status.mongodb;


import com.zjs.jsp.domain.stats.jsp_locationMsg;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.repository.MongoRepository;

public interface jsp_locationMagRepository extends MongoRepository<jsp_locationMsg, ObjectId>
{
    //jsp_locationMsg findTop1ByUserIDAndOrderByTimeDesc(String uid);

    jsp_locationMsg findByUserIDOrderByTimeDesc(String uid);

    jsp_locationMsg findTop1ByUserID(String uid);


    //List<jsp_locationMsg> findByUserIDInOrderByTimeDesc(List<String> uid);

}
